.PHONY:all
all:client_TCP server_TCPd #守护进程命名最好用d结尾
client_TCP:client_TCP.cpp
	g++ $^ -o $@ -std=c++17 -ljsoncpp
server_TCP:server_TCP.cpp
	g++ $^ -o $@ -std=c++17 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -f client_TCP server_TCPd